[Bugs] [Bug 1399432] A hard link is lost during rebalance+lookup

bugzilla at redhat.com bugzilla at redhat.com
Thu Dec 15 05:32:07 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1399432



--- Comment #6 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15954 committed in release-3.8 by Raghavendra
G (rgowdapp at redhat.com) 
------
commit 145185454464c1c45af64c13919e6fe5bf559769
Author: Mohit Agrawal <moagrawa at redhat.com>
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 at redhat.com>
    > Reviewed-on: http://review.gluster.org/15866
    > Reviewed-by: Susant Palai <spalai at redhat.com>
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: N Balachandran <nbalacha at redhat.com>
    > Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    > (cherry picked from commit 71dd2e914d4a537bf74e1ec3a24512fc83bacb1d)

    BUG: 1399432
    Change-Id: I30e21efd5a054d8a3e640ab3ed8aa7955d083926
    Signed-off-by: Mohit Agrawal <moagrawa at redhat.com>
    Reviewed-on: http://review.gluster.org/15954
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=TJLyASvcWg&a=cc_unsubscribe


More information about the Bugs mailing list