diff options
author | Prashanth Pai <ppai@redhat.com> | 2016-04-29 19:58:21 +0530 |
---|---|---|
committer | Thiago da Silva <thiago@redhat.com> | 2016-05-03 10:57:05 -0700 |
commit | 933bc5ade145413b0c7307a12b9d0b4084e7d767 (patch) | |
tree | 9c0e6d8e885fcfe6f9b9fe923ecec23f4ceb407f /makerpm.sh | |
parent | 5a04cede1f5bb44d6c64b186335146dd4e70a6ea (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: http://review.gluster.org/#/c/13366/
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 <ppai@redhat.com>
Reviewed-on: http://review.gluster.org/14118
Reviewed-by: Thiago da Silva <thiago@redhat.com>
Tested-by: Thiago da Silva <thiago@redhat.com>
Diffstat (limited to 'makerpm.sh')
0 files changed, 0 insertions, 0 deletions