-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add serialization of data types #72
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see in-line
@mnunberg Finally all tests check, both with AOF and RDB I still haven't switched to |
I had to temporarily disable AOF as I stumbled on something that needs further investigation: AOF loading seem to choke on commands that use |
Confirmed: https://github.com/antirez/redis/blob/unstable/src/aof.c#L808 |
@mnunberg This is an issue for later, we should review/merge as is and open a separate issue. |
Add serialization of data types (#72) * Add serialization of data types * Add AofRewrite (it might go in the future) and replication * Saving/loading tensors to/from RDB now working * Fix loading scripts * Handle encver properly * Use zero initialization for the error struct * Fix for script serialization. Add tests. * Fix length of input and output arrays * Fix arguments to calloc * Use getkeys-api * Use array_new instead of plain array * Disable AOF for now * Improve testing of unhappy paths * More unhappy path tests * Temporarily stop when AOF if activated
This PR addresses #64.
In a nutshell:
NOTE this is WIP, not ready for review yet (needs testing).