Bug 1286198 - dht: for moving file inside a new directory it asks for "overwrite?"
Summary: dht: for moving file inside a new directory it asks for "overwrite?"
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nithya Balachandran
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard: dht-rca-unknown, dht-rename-file
Depends On: 1026375
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-27 12:28 UTC by Susant Kumar Palai
Modified: 2016-07-04 09:06 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1026375
Environment:
Last Closed: 2016-07-04 09:06:20 UTC
Embargoed:


Attachments (Terms of Use)

Comment 2 Raghavendra G 2016-07-04 09:06:20 UTC
Given the bug description, it seems like a rename vs lookup selfheal resulting in both src and dst having same gfid. When two different directories share the same gfid (say mv src dst), files in single "src" directory is split (or listed) in both src and dst directory as is seen in this bug. However, the bug doesn't really explain all the sequence of operations that led to dir3/dirn and dir to have same gfid. We suspect this test was carried out on a volume which has already gone into an inconsistent state (possibly due to scenarios as in bz 1118770).

I am closing this bug due to following reasons:
1. test was carried out on a volume which has already gone into an inconsistent state
2. The root cause issue of two directories having same gfid are being tracked by various other bugs (like bz 111870).

Please re-open if you don't feel the reasons are not compelling enough.

regards,
Raghavendra.


Note You need to log in before you can comment on or make changes to this bug.