-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
txm: postpone read trackers creation to the on_yield
Read trackers must be stored in the story of a corresponding tuple but are used only if the reader is interrupted by another txn. So, if the reading txn doesn't yield, there is no need in read tracker. This patch postpones tracker creations which may possibly need extra bookkeping to the on_yield trigger. Needed for #6209
- Loading branch information
Egor Elchinov
committed
Sep 17, 2021
1 parent
1619d80
commit 14f6e1f
Showing
3 changed files
with
132 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters