swift/test/unit/obj
Tim Burke 69b8165cd8 obj: _finalize_durable may succeed even when data file is missing
Ordinarily, an ENOENT in _finalize_durable should mean something's gone
off the rails -- we expected to be able to mark data durable, but
couldn't!

If there are concurrent writers, though, it might actually be OK:

   Client A writes .data
   Client B writes .data
   Client B finalizes .data *and cleans up on-disk files*
   Client A tries to finalize but .data is gone

Previously, the above would cause the object server to 500, and if
enough of them did this, the client may see a 503. Now, call it good so
clients get 201s.

Change-Id: I4e322a7be23870a62aaa6acee8435598a056c544
Closes-Bug: #1719860
2020-04-24 15:39:37 -07:00
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
common.py py3: port object auditor 2019-02-27 14:07:33 -06:00
test_auditor.py Update hacking for Python3 2020-04-03 21:21:07 +02:00
test_diskfile.py obj: _finalize_durable may succeed even when data file is missing 2020-04-24 15:39:37 -07:00
test_expirer.py Deprecate per-service auto_create_account_prefix 2020-01-05 09:53:30 -06:00
test_reconstructor.py Merge "Update hacking for Python3" 2020-04-09 15:05:28 +00:00
test_replicator.py pep8: Turn on E305 2020-04-03 21:22:38 +02:00
test_server.py New Object Versioning mode 2020-01-24 17:39:56 -08:00
test_ssync_receiver.py Update hacking for Python3 2020-04-03 21:21:07 +02:00
test_ssync_sender.py Consistently use io.BytesIO 2019-10-15 15:09:46 +02:00
test_ssync.py py3: port ssync 2019-06-05 13:26:18 -07:00
test_updater.py sharding: Better-handle newlines in container names 2020-01-03 16:04:57 -08:00