-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous commit, made in anger, made a test pass, but wasn't really the right fix. This commit fixes MVCCMappingStorage's loadBefore implementation by fixing handling of the internal _ltid variable so that it's updated during poll_invalidations. This allowed the base class version of loadBefore to be used and, I'm 97% sure has the right semantics. Fixing this revealed a problem with the Connection changes. Fixed Connection.py to poll for invalidations before computing _txn_time by calling lastTransaction, so as to get a current value. We still apply invalidations after computing _txn_time, so that persistent classes can be loaded correctly when they are invalidated. This was accomplished by weaving _flush_invalidations into newTransaction.
- Loading branch information
Jim Fulton
committed
May 4, 2016
1 parent
f2922e4
commit 2729f3a
Showing
3 changed files
with
57 additions
and
72 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