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

0.7.1 batch commit can exceed 20k max mutations #869

Closed
pjenvey opened this issue Oct 20, 2020 · 1 comment
Closed

0.7.1 batch commit can exceed 20k max mutations #869

pjenvey opened this issue Oct 20, 2020 · 1 comment

Comments

@pjenvey
Copy link
Member

@pjenvey pjenvey commented Oct 20, 2020

Seen here:

https://sentry.prod.mozaws.net/operations/syncstorage-prod/issues/9820467/

Likely the changes for quota support (even when disabled) seem to have changed the batch commit's write pattern.

@pjenvey pjenvey added this to Backlog: Misc in Services Engineering via automation Oct 20, 2020
@pjenvey
Copy link
Member Author

@pjenvey pjenvey commented Oct 20, 2020

It looks like batch commit originally called touch_collection_async to begin. Now it calls update_collection_async to begin instead, with an extra call to the new update_user_collection_quotas at the end.

The last time I calculated mutations there was little to no room for extras, so I'm guessing the new, additional update_user_collection_quotas call puts it over.

@pjenvey pjenvey moved this from Backlog: Misc to Scheduled in Services Engineering Oct 20, 2020
@pjenvey pjenvey self-assigned this Oct 23, 2020
@pjenvey pjenvey moved this from Scheduled to In Progress in Services Engineering Oct 23, 2020
pjenvey added a commit that referenced this issue Oct 29, 2020
and document batch commit's mutations

Closes #869
@pjenvey pjenvey closed this in #877 Oct 29, 2020
Services Engineering automation moved this from In Progress to Done Oct 29, 2020
@tublitzed tublitzed moved this from Done to Archived in Services Engineering Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant