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

support retaining the full history for LWWRegister, ORMap, and ORSet #37

Open
heckj opened this issue Mar 1, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@heckj
Copy link
Owner

heckj commented Mar 1, 2023

Currently, the history is optimized out and dropped on delta updates (or more specifically, generating a delta for these types only includes the most recent value - not all the possible changes that have happened since a previous update).

However, if you want to be able to view the state of the CRDT at any arbitrary point in its history, then that additional detail becomes worth maintaining, even thought the overall CRDT size can become notably larger.

The current logic would require a few updates to maintain this history, but it should be pretty directly doable as an initialization option.

@heckj heckj added the enhancement New feature or request label Mar 1, 2023
@heckj heckj self-assigned this Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant