Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Kirill Smelkov
ZEO
Commits
80f6a4be
Commit
80f6a4be
authored
Jul 18, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wish to be rid of getTid
parent
508ba138
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
src/ZEO/ClientStorage.py
src/ZEO/ClientStorage.py
+1
-1
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+2
-0
src/ZEO/interfaces.py
src/ZEO/interfaces.py
+0
-8
No files found.
src/ZEO/ClientStorage.py
View file @
80f6a4be
...
...
@@ -490,7 +490,7 @@ class ClientStorage(ZODB.ConflictResolution.ConflictResolvingStorage):
return
self
.
_call
(
'record_iternext'
,
next
)
def
getTid
(
self
,
oid
):
# XXX deprecated:
used by storage server for full cache verification.
# XXX deprecated:
but ZODB tests use this. They shouldn't
return
self
.
_call
(
'getTid'
,
oid
)
def
loadSerial
(
self
,
oid
,
serial
):
...
...
src/ZEO/StorageServer.py
View file @
80f6a4be
...
...
@@ -140,7 +140,9 @@ class ZEOStorage:
if
not
info
[
'supportsUndo'
]:
self
.
undoLog
=
self
.
undoInfo
=
lambda
*
a
,
**
k
:
()
# XXX deprecated: but ZODB tests use getTid. They shouldn't
self
.
getTid
=
storage
.
getTid
self
.
load
=
storage
.
load
self
.
loadSerial
=
storage
.
loadSerial
record_iternext
=
getattr
(
storage
,
'record_iternext'
,
None
)
...
...
src/ZEO/interfaces.py
View file @
80f6a4be
...
...
@@ -90,14 +90,6 @@ class IServeable(zope.interface.Interface):
"""Interface provided by storages that can be served by ZEO
"""
def
getTid
(
oid
):
"""The last transaction to change an object
Return the transaction id of the last transaction that committed a
change to an object with the given object id.
"""
def
tpc_transaction
():
"""The current transaction being committed.
...
...
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