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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
620db0a4
Commit
620db0a4
authored
Dec 10, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
7a03cf08
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
lib/tests/test_zodb.py
lib/tests/test_zodb.py
+10
-0
z.txt
z.txt
+6
-2
No files found.
lib/tests/test_zodb.py
View file @
620db0a4
...
@@ -85,3 +85,13 @@ def test_deactivate_btree():
...
@@ -85,3 +85,13 @@ def test_deactivate_btree():
for
obj
in
[
B
]
+
leafv
:
for
obj
in
[
B
]
+
leafv
:
assert
obj
.
_p_state
==
GHOST
assert
obj
.
_p_state
==
GHOST
assert
obj
not
in
cached
assert
obj
not
in
cached
def
test_zconn_at
():
# TODO commit -> know head -> open conn1,
# open conn2, commit there; wait or sync, make sure zconn_at(conn1) is as expected
# TODO zconn_at for historic connection
pass
z.txt
View file @
620db0a4
ZODB5
ZODB5
-----
-----
zconn.db._storage always provide IMVCCStorage - either raw storage provides it,
zconn.db._storage always provide
s
IMVCCStorage - either raw storage provides it,
or DB wraps raw storage with MVCCAdapter.
or DB wraps raw storage with MVCCAdapter.
MVCCAdapter in turn uses either MVCCAdapterInstance (current) or
MVCCAdapter in turn uses either MVCCAdapterInstance (current) or
...
@@ -27,7 +27,11 @@ RelStorage is IMVCCStorage - TODO: how to extract at.
...
@@ -27,7 +27,11 @@ RelStorage is IMVCCStorage - TODO: how to extract at.
ZODB4
ZODB4
-----
-----
TODO /_txn_time in Connection.py
Connection:
.before !None for historic connections
._txn_time - if !None - set to tid of _next_ transaction
XXX set to None initially - what to do?
...
...
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