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

replace avoid writing aggregates up the tree #5

Open
ldanilek opened this issue Sep 28, 2024 · 0 comments
Open

replace avoid writing aggregates up the tree #5

ldanilek opened this issue Sep 28, 2024 · 0 comments

Comments

@ldanilek
Copy link
Collaborator

If you replace a key to the same or a similar key, and the sum doesn't change, we shouldn't write aggregates all the way up the tree. The counts and sums aren't changing near the top of the tree; just near the bottom. But currently we update the aggregate to remove the item and then add it back, which causes a write which can conflict with queries and other mutations

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

1 participant