path: root/test
diff options
authorPrashanth Pai <>2016-04-29 19:58:21 +0530
committerThiago da Silva <>2016-05-03 10:57:05 -0700
commit933bc5ade145413b0c7307a12b9d0b4084e7d767 (patch)
tree9c0e6d8e885fcfe6f9b9fe923ecec23f4ceb407f /test
parent5a04cede1f5bb44d6c64b186335146dd4e70a6ea (diff)
Handle non-blocking renames during object PUTs
DiskFile._finalize_put() will now retry renames if it fails with EBUSY or ESTALE. This is required because for a brief period of time, rename operation in glusterfs was non-blocking. Reference: This change also does the following: * Updates comments to add clarity for operations done and exceptions caught in DiskFile.create() * Handles race between container existance check (memcache) and object creation a little more gracefully by logging what really happened. Change-Id: I89777be19eef73826b5f84deec0777173b62935f Signed-off-by: Prashanth Pai <> Reviewed-on: Reviewed-by: Thiago da Silva <> Tested-by: Thiago da Silva <>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions