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

Add support for marking some prevOps as obsolete #29

Open
sbazerque opened this issue Sep 5, 2022 · 0 comments
Open

Add support for marking some prevOps as obsolete #29

sbazerque opened this issue Sep 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sbazerque
Copy link
Member

sbazerque commented Sep 5, 2022

Right now it is not possible to indicate that some mutation operations can safely be ignored. I'd like to add another special field to MutationOp that is similar to prevOps but, instead of indicating that this op comes after some others, it indicates that such previous ops are obsolete and that they should not be fetched.

The sync agent should take this field into consideration when backtracking from the current state, and don't ask for ops that have been obsoleted.

Since in the most common case this cannot be done without breaking BFT, try to do it in a way that doesn't impose the burden of checking that there is no op-obsolescence on all the types that don't support it (maybe a parameter passed to MutableObject's constructor enabling obsolescence?).

@sbazerque sbazerque added the enhancement New feature or request label Sep 5, 2022
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