diff options
author | shishir gowda <sgowda@redhat.com> | 2013-07-11 11:52:25 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-07-12 00:40:31 -0700 |
commit | ec64f13476cbd2f7702cecfef929f3ea8efc0a51 (patch) | |
tree | 8c10a7f8cc74f2c9cf2551fdbbf78234f1696123 /tests/bugs/bug-982174.t | |
parent | 60d1949b00fa42e0c5d1f0a763004ca474a4645d (diff) |
cluster/dht: Unlink dst file after cleanup during migration
If a rename happens during migration, unlink fails. This leads
to stale xattrs, and Sticky bits still being set.
By removing the xattrs and Sticky bits from dst (through fd ops),
the stale link file would be cleaned up eventually (even if unlink
fails on src).
Change-Id: Iec537d021905438327a20e1d811aa06e74034364
BUG: 983399
Signed-off-by: shishir gowda <sgowda@redhat.com>
Reviewed-on: http://review.gluster.org/5316
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/bugs/bug-982174.t')
0 files changed, 0 insertions, 0 deletions