Bug 1396048
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: | high | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | amukherj, bugs, moagrawa, rhs-bugs, storage-qa-internal, tdesala |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.10.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1392837 | Environment: | |
Last Closed: | 2017-03-06 17:34:44 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: | 1392837, 1399430, 1399432 |
Description
Mohit Agrawal
2016-11-17 10:32:16 UTC
REVIEW: http://review.gluster.org/15865 (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/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#1) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#2) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#3) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#4) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#5) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#6) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#7) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#8) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#9) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#10) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#11) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#12) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15866 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#13) for review on master by MOHIT AGRAWAL (moagrawa) COMMIT: http://review.gluster.org/15866 committed in master by Raghavendra G (rgowdapp) ------ commit 71dd2e914d4a537bf74e1ec3a24512fc83bacb1d Author: Mohit Agrawal <moagrawa> Date: Thu Nov 17 16:20:40 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> 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.10.0, please open a new bug report. glusterfs-3.10.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/gluster-users/2017-February/030119.html [2] https://www.gluster.org/pipermail/gluster-users/ |