Bug 1399432
| Summary: | A hard link is lost during rebalance+lookup | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Mohit Agrawal <moagrawa> |
| Component: | distribute | Assignee: | Mohit Agrawal <moagrawa> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.8 | CC: | amukherj, asrivast, bugs, moagrawa, nbalacha, rhs-bugs, storage-qa-internal, tdesala |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.8.8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1392837 | Environment: | |
| Last Closed: | 2017-01-16 12:26:06 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: | 1392837, 1396048 | ||
| Bug Blocks: | |||
|
Description
Mohit Agrawal
2016-11-29 04:37:39 UTC
REVIEW: http://review.gluster.org/15951 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#1) for review on master by MOHIT AGRAWAL (moagrawa) Patch is posted for review http://review.gluster.org/#/c/15951/ REVIEW: http://review.gluster.org/15954 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#1) for review on release-3.8 by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15954 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#2) for review on release-3.8 by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15954 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#3) for review on release-3.8 by MOHIT AGRAWAL (moagrawa) COMMIT: http://review.gluster.org/15954 committed in release-3.8 by Raghavendra G (rgowdapp) ------ commit 145185454464c1c45af64c13919e6fe5bf559769 Author: Mohit Agrawal <moagrawa> Date: Tue Nov 29 10:50:04 2016 +0530 cluster/dht: A hard link is lost during rebalance + lookup Problem: A hard link is lost during rebalance + lookup.Rebalance skip files if file has hardlink.In dht_migrate_file __is_file_migratable () function checks if a file has hardlink, if yes file is not migrated but if link is created after call this function then link will lost. Solution: Call __check_file_has_hardlink to check hardlink existence after (S+T) bits in migration process ,if file has hardlink then skip the file for migrate rebalance process. > BUG: 1396048 > Change-Id: Ia53c07ef42f1128c2eedf959a757e8df517b9d12 > Signed-off-by: Mohit Agrawal <moagrawa> > Reviewed-on: http://review.gluster.org/15866 > Reviewed-by: Susant Palai <spalai> > Smoke: Gluster Build System <jenkins.org> > NetBSD-regression: NetBSD Build System <jenkins.org> > CentOS-regression: Gluster Build System <jenkins.org> > Reviewed-by: N Balachandran <nbalacha> > Reviewed-by: Raghavendra G <rgowdapp> > (cherry picked from commit 71dd2e914d4a537bf74e1ec3a24512fc83bacb1d) BUG: 1399432 Change-Id: I30e21efd5a054d8a3e640ab3ed8aa7955d083926 Signed-off-by: Mohit Agrawal <moagrawa> Reviewed-on: http://review.gluster.org/15954 CentOS-regression: Gluster Build System <jenkins.org> Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: N Balachandran <nbalacha> Reviewed-by: Raghavendra G <rgowdapp> REVIEW: http://review.gluster.org/16258 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#1) for review on release-3.8-fb by Kevin Vigor (kvigor) Marking this BZ Modified as the patch has been merged in the release-3.8. 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.8.8, please open a new bug report. glusterfs-3.8.8 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] https://lists.gluster.org/pipermail/announce/2017-January/000064.html [2] https://www.gluster.org/pipermail/gluster-users/ |