Bug 1399430
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: | medium | ||
Version: | 3.9 | CC: | amukherj, asrivast, bugs, moagrawa, rhs-bugs, storage-qa-internal, tdesala |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.9.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1392837 | Environment: | |
Last Closed: | 2017-03-08 10:20:15 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: | 1396048 | ||
Bug Blocks: | 1392837 |
Description
Mohit Agrawal
2016-11-29 04:36:20 UTC
REVIEW: http://review.gluster.org/15952 (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/15953 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#1) for review on release-3.9 by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15955 (cluster/dht: A hard link is lost during rebalance + lookup) posted (#1) for review on release-3.9 by MOHIT AGRAWAL (moagrawa) COMMIT: http://review.gluster.org/15955 committed in release-3.9 by Raghavendra G (rgowdapp) ------ commit 290999db11feedb3021022edfaabef516bf5f6e6 Author: Mohit Agrawal <moagrawa> Date: Tue Nov 29 11:04:06 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> > (cherry picked from commit 4b8ccbed28837bd78894cb5ce3cf15bc8f364a93) BUG: 1399430 Change-Id: Idc869f2cf2355dacf54c36008840092b8e77acb9 Signed-off-by: Mohit Agrawal <moagrawa> Reviewed-on: http://review.gluster.org/15955 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> 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.9.1, please open a new bug report. glusterfs-3.9.1 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-January/029725.html [2] https://www.gluster.org/pipermail/gluster-users/ |