Bug 1483402
Summary: | DHT: readdirp fails to read some directories. | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Nithya Balachandran <nbalacha> |
Component: | distribute | Assignee: | Nithya Balachandran <nbalacha> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.12 | CC: | bugs, kramdoss, nbalacha, rgowdapp, sabansal, smohan |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | dht-directory-consistency, dht-must-fix | ||
Fixed In Version: | glusterfs-3.12.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1248393 | Environment: | |
Last Closed: | 2017-09-05 17:39:07 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: | 1248393, 1483828 | ||
Bug Blocks: | 1266359 |
Description
Nithya Balachandran
2017-08-21 04:20:47 UTC
REVIEW: https://review.gluster.org/18071 (cluster/dht: Reorder dir operations in gf_defrag_fix_layout) posted (#1) for review on release-3.12 by N Balachandran (nbalacha) COMMIT: https://review.gluster.org/18071 committed in release-3.12 by Shyamsundar Ranganathan (srangana) ------ commit 181d7bafb4da76401c3a1eb30bfdfbe8239968ab Author: N Balachandran <nbalacha> Date: Wed Aug 16 12:58:52 2017 +0530 cluster/dht: Reorder dir operations in gf_defrag_fix_layout Earlier, rebalance performed a fix-layout on a directory before healing its subdirectories. If there were a lot of subdirs, it could take a while before all subdirs were created on the newly added bricks. As dht_readdirp only lists dirs from their hashed subvol, those dirs which hashed to the newly added bricks but were not yet created on them were not listed. Now, the child dirs are listed and processed before the layout of the parent is fixed. This introduces a change in behaviour where files in subdirs are migrated before those in parent directories. Credit: Shyam <srangana> Github issue: #239 > BUG: 1248393 > Signed-off-by: N Balachandran <nbalacha> > Reviewed-on: https://review.gluster.org/18045 > Smoke: Gluster Build System <jenkins.org> > CentOS-regression: Gluster Build System <jenkins.org> > Reviewed-by: Raghavendra G <rgowdapp> (cherry picked from commit 96b33b4b278391ca8a7755cf274931d4f1808cb5) Change-Id: I8ae7f24a510754cd8d1b31e5d608bcf1928599e2 BUG: 1483402 Signed-off-by: N Balachandran <nbalacha> Reviewed-on: https://review.gluster.org/18071 Smoke: Gluster Build System <jenkins.org> Reviewed-by: Raghavendra G <rgowdapp> CentOS-regression: Gluster Build System <jenkins.org> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report. glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html [2] https://www.gluster.org/pipermail/gluster-users/ |