-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Force move a predicate aborting pending transactions. #2215
Conversation
Somehow transactions that return an error while predicate move is happening are not aborted. Hence, after the move, we get these errors. I am investigating, why they are not getting aborted.
|
Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion. worker/scheduler.go, line 177 at r2 (raw file):
The snapshot error message was because TxnMarks were not marked as done. Also, since PutOrMerge is called below, they would never be added to the map and even if the client calls abort, the server won't find the transaction in the map. Comments from Reviewable |
Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion. worker/scheduler.go, line 177 at r2 (raw file): Previously, pawanrawal (Pawan Rawal) wrote…
Ignore comment above, we just add it to the map now. Comments from Reviewable |
Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion. worker/scheduler.go, line 177 at r2 (raw file): Previously, pawanrawal (Pawan Rawal) wrote…
Ok. I'm missing a bit of context here. So, I'll let @janardhan1993 review this PR. Comments from Reviewable |
Reviewed 2 of 2 files at r1, 1 of 1 files at r3. Comments from Reviewable |
Merged to master with 82abcd4. |
This change is