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

Move local dns tombstone cleanup to scheduled job #2536

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

jpalermo
Copy link
Member

Follow up to #2533

The tombstone creation happens in a larger transaction, so if you both insert and clean tombstone records at the same time you can end up in a deadlock state if that is happening in multiple threads at the same time.

This commit moves the tombstone cleanup into a scheduled job that runs once a day instead.

The tombstone creation happens in a larger transaction, so if you both insert and clean tombstone records at the
same time you can end up in a deadlock state if that is happening in multiple threads at the same time.

This commit moves the tombstone cleanup into a scheduled job that runs once a day instead.
@rkoster rkoster requested review from a team, mvach and ramonskie and removed request for a team July 11, 2024 14:44
@aramprice aramprice merged commit 8f8b336 into main Jul 11, 2024
4 checks passed
@aramprice aramprice deleted the pr-move-tombstone-cleanup-to-scheduled-job branch July 11, 2024 17:02
@aramprice
Copy link
Member

thanks @jpalermo

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

Successfully merging this pull request may close these issues.

4 participants