Bug 1092510
Summary: | DHT : - two directories has same gfid on snapshot restore | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rachana Patel <racpatel> | |
Component: | distribute | Assignee: | Raghavendra G <rgowdapp> | |
Status: | CLOSED DUPLICATE | QA Contact: | Matt Zywusko <mzywusko> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | rhgs-3.0 | CC: | asriram, mzywusko, nbalacha, rgowdapp, sankarshan, smohan | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | dht-gfid-dir, triaged, dht-snapshot | |||
Fixed In Version: | Doc Type: | Known Issue | ||
Doc Text: |
If you create a snapshot when the rename of directory is in progress (here, its complete on hashed subvolume but not on all of the subvolumes), on snapshot restore, directory which was undergoing rename operation will have same GFID for both source and destination. Having same GFID is an inconsistency in DHT and can lead to undefined behaviour.
This is because, in DHT, a rename (source, destination) of directories is done first on hashed-subvolume and if successful, then on rest of the subvolumes. At this point in time, if you have both source and destination directories present in the cluster with same GFID - destination on hashed-subvolume and source on rest of the subvolumes. A parallel lookup (on either source or destination) at this time can result in creation of directories on missing subvolumes - source directory entry on hashed and destination directory entry on rest of the subvolumes. Hence, there would be two directory entries - source and destination - having same GFID.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1105082 (view as bug list) | Environment: | ||
Last Closed: | 2016-09-01 12:16:50 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1087818, 1105082, 1118779, 1118780, 1252244, 1324381 |
Description
Rachana Patel
2014-04-29 13:15:09 UTC
Edited the doc text. Please confirm. Reviewed doc-text. Its fine. *** This bug has been marked as a duplicate of bug 1118780 *** |