Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
d28f449e
Commit
d28f449e
authored
Mar 03, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
95a8df7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
lib/tests/test_zodb.py
lib/tests/test_zodb.py
+2
-0
lib/zodb.py
lib/zodb.py
+2
-0
No files found.
lib/tests/test_zodb.py
View file @
d28f449e
...
@@ -234,5 +234,7 @@ def test_zconn_at():
...
@@ -234,5 +234,7 @@ def test_zconn_at():
# TODO zconn_at for historic connection
# TODO zconn_at for historic connection
# TODO zconn_at after empty commit (with fs1 currently gives future tid,
# but db is not updated and wcfs client resync to that future tid hangs)
pass
pass
lib/zodb.py
View file @
d28f449e
...
@@ -145,6 +145,8 @@ def zconn_at(zconn): # -> tid
...
@@ -145,6 +145,8 @@ def zconn_at(zconn): # -> tid
# ZODB5 uses MVCC uniformly
# ZODB5 uses MVCC uniformly
if
zmajor
>=
5
:
if
zmajor
>=
5
:
# FIXME gives future tid with fs1 and empty commit which leads to wcfs client resync hang
# (test_bigfile_filezodb_fmt_change hangs)
zstor
=
zconn
.
_storage
zstor
=
zconn
.
_storage
if
isinstance
(
zstor
,
ZODB
.
mvccadapter
.
MVCCAdapterInstance
):
if
isinstance
(
zstor
,
ZODB
.
mvccadapter
.
MVCCAdapterInstance
):
# XXX there is race in ZODB itself that leads to data corruption:
# XXX there is race in ZODB itself that leads to data corruption:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment