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

Avoiding deadlock when multiple workers try to update at the same time #412

Closed
wants to merge 2 commits into from

Conversation

cryptowhizzard
Copy link

Fixes :

Feb 13 02:34:30 curio-c2a curio[2434472]: {"level":"error","ts":"2025-02-13T02:34:30.469Z","logger":"curio/message","caller":"message/watch.go:96","msg":"failed to assign pending messages: ERROR: Errors occurred while reaching out to the tablet servers: . Errors from tablet servers: [Operation expired (yb/docdb/deadlock_detector.cc:425): Transaction 7557ba61-5775-4bf4-b5ec-109e1413c497 aborted due to a deadlock: <0>00282b48-c1b3-4206-bab7-de9102c8acf6-><0>7557ba61-5775-4bf4-b5ec-109e1413c497->: kDeadlock (transaction error 6), Operation failed. Try again (yb/docdb/conflict_resolution.cc:92): 7557ba61-5775-4bf4-b5ec-109e1413c497 conflicts with committed transaction: 00282b48-c1b3-4206-bab7-de9102c8acf6 (transaction error 3)] (SQLSTATE XX000)"}

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

Successfully merging this pull request may close these issues.

1 participant