Commit 545d688e authored by Jim Fulton's avatar Jim Fulton

Fixed up documentation for loadEx.

Renamed getSerial to getTid.
parent 40667142
...@@ -177,13 +177,12 @@ class StorageServer: ...@@ -177,13 +177,12 @@ class StorageServer:
return self.rpc.call('zeoLoad', oid) return self.rpc.call('zeoLoad', oid)
## ##
# Return current data for oid in version, the tid of the transaction that
# wrote the most recent revision, and the name of the version for the # Return current data for oid in version, the tid of the
# data returned. Versions make this hard to understand; in particular, # transaction that wrote the most recent revision, and the name of
# the version string returned may not equal the version string passed # the version for the data returned. Note that if the object
# in, and that's "a feature" I don't understand. Similarly, the tid # wasn't modified in the version, then the non-version data is
# returned is the tid of the most recent revision of oid, and that may # returned and the returned version is an empty string.
# not equal the tid of the transaction that wrote the data returned.
# @param oid object id # @param oid object id
# @param version string, name of version # @param version string, name of version
# @defreturn 3-tuple # @defreturn 3-tuple
...@@ -275,8 +274,8 @@ class StorageServer: ...@@ -275,8 +274,8 @@ class StorageServer:
def loadBlob(self, oid, serial, version, offset): def loadBlob(self, oid, serial, version, offset):
return self.rpc.call('loadBlob', oid, serial, version, offset) return self.rpc.call('loadBlob', oid, serial, version, offset)
def getSerial(self, oid): def getTid(self, oid):
return self.rpc.call('getSerial', oid) return self.rpc.call('getTid', oid)
def loadSerial(self, oid, serial): def loadSerial(self, oid, serial):
return self.rpc.call('loadSerial', oid, serial) return self.rpc.call('loadSerial', oid, serial)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment