swift/swift/obj
Clay Gerrard 52ecbf9539 Add a chunks_finished to BaseDiskFileWriter
BaseDiskFileWriter will track md5 and expose upload_size, etag via the
chunks_finished method.

The BaseDiskFileReader already tracks the md5/etag via _iter_etag, for
parity we add a _chunks_etag to the BaseDiskFileReader.

Instead of returning the upload_size and hexdigest every call to write,
we return the tuple from chunks_finished.

Change-Id: I26c58719cff5fde941d0248c250a0204e0379ae5
2018-09-13 12:28:57 -05:00
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
auditor.py Change object_audit_location_generator() to yield for a single policy. 2018-03-22 03:02:35 +00:00
diskfile.py Add a chunks_finished to BaseDiskFileWriter 2018-09-13 12:28:57 -05:00
expirer.py Fix object-server to not 400 all expirer DELETEs 2018-03-02 15:25:38 +00:00
mem_diskfile.py Add a chunks_finished to BaseDiskFileWriter 2018-09-13 12:28:57 -05:00
mem_server.py Per-policy DiskFile classes 2015-04-14 00:52:16 -07:00
reconstructor.py py3: fix up some NameErrors 2018-06-14 16:05:02 -07:00
replicator.py Address some review comments 2018-06-27 17:17:19 -07:00
server.py Add a chunks_finished to BaseDiskFileWriter 2018-09-13 12:28:57 -05:00
ssync_receiver.py Merge "Fix SSYNC failing to replicate unexpired object" 2017-05-31 22:49:55 +00:00
ssync_sender.py Allow to rebuild a fragment of an expired object 2017-08-04 23:05:08 +02:00
updater.py Have check_drive raise ValueError on errors 2018-06-20 17:15:07 -07:00