Commit c3ecc294 authored by Jim Fulton's avatar Jim Fulton

Removed the do-nothing getSizeMethod from BlobStorage.

parent 5c3baaeb
......@@ -692,7 +692,7 @@ class BlobStorage(SpecificationDecoratorBase):
oid, serial = self.dirty_oids.pop()
clean = self.fshelper.getBlobFilename(oid, serial)
if os.path.exists(clean):
remove_committed(clean)
remove_committed(clean)
@non_overridable
def loadBlob(self, oid, serial):
......@@ -782,13 +782,6 @@ class BlobStorage(SpecificationDecoratorBase):
return result
@non_overridable
def getSize(self):
"""Return the size of the database in bytes."""
# XXX The old way of computing is way to resource hungry. We need to
# do some kind of estimation instead.
return getProxiedObject(self).getSize()
@non_overridable
def undo(self, serial_id, transaction):
undo_serial, keys = getProxiedObject(self).undo(serial_id, transaction)
......
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