Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis requires the length of native type names to be exactly 9 characters? #365

Open
weedge opened this issue Oct 10, 2023 · 3 comments
Open

Comments

@weedge
Copy link

weedge commented Oct 10, 2023

Redis requires the length of native type names to be exactly 9 characters. <= max_type_name_len like 12, but = 9. why? 🤔

@oranagra
Copy link

It uses a 64 bit integer (8 bytes) to store the type name (alphanumeric) and the encver number.

@weedge
Copy link
Author

weedge commented Oct 10, 2023

@oranagra thank you for your answer~ if RedisType name like AAAA.BBBB , AAAABBBB. length is 9; but Error: created data type is null~

@MeirShpilraien
Copy link
Collaborator

@weedge I believe that this should be address with a better and safer rust API. Rust give us the tools to enforce such constrains on compile time so the user can not make mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants