- 13 Sep, 2016 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
This reverts to the behaviour of 3.10.3 and older. (cherry picked from commit b74eef76) Conflicts: src/ZODB/tests/testconflictresolution.py
-
- 28 Apr, 2016 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
Multi-threaded IO support, which is new to ZODB 3.10, allows clients to read data (load & loadBefore) even after tpc_vote has started to write a new transaction to disk. This is done by using different 'file' objects. Issues start when a transaction is rolled back after data has been appended (using the writing file object). Truncating is not enough because the FilePool may have been used concurrently to read the end of the last transaction: file objects have their own read buffers which, in this case, may also contain the beginning of the aborted transaction. So a solution is to invalidate read buffers whenever they may contain wrong data. This patch does it on truncation, which happens rarely enough to not affect performance. We discovered this bug in the following conditions: - ZODB splitted in several FileStorage - many conflicts in the first committed DB, but always resolved - unresolved conflict in another DB If the transaction is replayed with success (no more conflict in the other DB), a subsequent load of the object that could be resolved in the first DB may, for example, return a wrong serial (tid of the aborted transaction) if the layout of the committed transaction matches that of the aborted one. The bug usually manifests with POSKeyError & CorruptedDataError exceptions in ZEO logs, for example while trying to resolve a conflict (and restarting the transaction does not help, causing Site Errors in Zope). But theorically, this could also cause silent corruption or unpickling errors at client side. (cherry picked from commit 028b1922) Conflicts: src/ZODB/FileStorage/FileStorage.py
-
- 17 Mar, 2016 4 commits
-
-
Tres Seaver authored
Fixing uncaught exception problem on shutdown
-
Patrick Gerken authored
-
Patrick Gerken authored
-
Patrick Gerken authored
-
- 16 Mar, 2016 1 commit
-
-
Patrick Gerken authored
Nested connections try to clean up themselves multiple times. This does not work
-
- 10 Mar, 2014 3 commits
-
-
Godefroid Chapelle authored
-
Godefroid Chapelle authored
-
Gediminas Paulauskas authored
-
- 03 Mar, 2014 2 commits
-
-
Godefroid Chapelle authored
-
Godefroid Chapelle authored
-
- 03 Feb, 2014 6 commits
-
-
Godefroid Chapelle authored
-
Godefroid Chapelle authored
-
Godefroid Chapelle authored
-
-
Godefroid Chapelle authored
-
-
- 23 Dec, 2013 1 commit
-
-
Godefroid Chapelle authored
-
- 21 Oct, 2013 2 commits
-
-
Godefroid Chapelle authored
when objects had been added in readCurrent still need to come up with a test
-
Godefroid Chapelle authored
-
- 17 Sep, 2013 3 commits
-
-
Godefroid Chapelle authored
-
Godefroid Chapelle authored
-
Godefroid Chapelle authored
-
- 11 Jun, 2012 1 commit
-
-
Tres Seaver authored
-
- 25 May, 2012 1 commit
-
-
Tres Seaver authored
-
- 19 May, 2012 2 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
string representation.
-
- 02 May, 2012 3 commits
-
-
-
Tres Seaver authored
-
Tres Seaver authored
-
- 19 Nov, 2011 1 commit
-
-
Jim Fulton authored
-
- 18 Nov, 2011 1 commit
-
-
Jim Fulton authored
Conflict resolution failed when state included cross-database persistent references with classes that couldn't be imported.
-
- 17 Nov, 2011 2 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
the fix fix.
-
- 16 Nov, 2011 1 commit
-
-
Jim Fulton authored
Conflict resolution failed when state included persistent references with classes that couldn't be imported.
-
- 12 Apr, 2011 2 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
"Blob temp file get's removed before it should", https://bugs.launchpad.net/zodb/+bug/595378 A way this to happen is that a transaction is aborted after the commit process has started. I don't know how this would happen in the wild. In 3.10.3, the ZEO tpc_abort call to the server is changed to be synchronous, which should address this case. Maybe there's another case.
-