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

pkg/coveragedb: old data removal w/o transactions #5571

Open
tarasmadan opened this issue Dec 5, 2024 · 0 comments
Open

pkg/coveragedb: old data removal w/o transactions #5571

tarasmadan opened this issue Dec 5, 2024 · 0 comments

Comments

@tarasmadan
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Spanner doesn't support big transactions.
We can't safely add new coverage data and remove all in parallel. As a workaround currently deletion is scheduled in safe time periods.

The alternatives available:

  1. Add timestamps to all records and delete only the very old data.
  2. Introduce some locking for the DB update/delete operations.

Thanks @a-nogikh for the options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant