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

Added expiration to garnet objects at time of serialization deserialization #59

Merged
merged 14 commits into from
Mar 22, 2024

Conversation

pradeepyadavmsft
Copy link
Contributor

@pradeepyadavmsft pradeepyadavmsft commented Mar 20, 2024

This fix addresses a bug where expiration is not being added to serialization, potentially causing some objects to become live again after recovery from a checkpoint.

If you are using the object store, please clean up older checkpoints as it will not be able to deserialize them due to the breaking nature of this change.

@pradeepyadavmsft pradeepyadavmsft changed the title Add expiration to garnet objects at time of serialization deserialization Added expiration to garnet objects at time of serialization deserialization Mar 20, 2024
@badrishc
Copy link
Contributor

The proposed serialization format is:
[base class fields][derived class fields]
where [base class fields] = [type][expiration]

@yrajas yrajas force-pushed the pyadav/expireFix branch from 6fa8eeb to 4cb2135 Compare March 21, 2024 20:51
@yrajas yrajas force-pushed the pyadav/expireFix branch from 98afd41 to 38ef50b Compare March 22, 2024 22:12
@yrajas yrajas force-pushed the pyadav/expireFix branch from 38ef50b to 9bc3c53 Compare March 22, 2024 22:19
@yrajas yrajas merged commit c82e661 into main Mar 22, 2024
8 checks passed
@yrajas yrajas deleted the pyadav/expireFix branch March 22, 2024 22:54
@github-actions github-actions bot locked and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants