[Bugs] [Bug 1399470] New: Wrong value in Last Synced column during Hybrid Crawl

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 29 06:28:59 UTC 2016


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

            Bug ID: 1399470
           Summary: Wrong value in Last Synced column during Hybrid Crawl
           Product: GlusterFS
           Version: 3.9
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: avishwan at redhat.com
                CC: bugs at gluster.org
        Depends On: 1396081
            Blocks: 1397286



+++ This bug was initially created as a clone of Bug #1396081 +++

Description of problem:
During Hybrid Crawl, Last synced status shows wrong value.

--- Additional comment from Aravinda VK on 2016-11-17 07:15:11 EST ---

Last synced status picks from internal markings of stime xattr while updating
for directories. Last synced value to be shown only when it is updated in Brick
root(not sub directories)

Note: Last Synced Value will not change untill Hybrid crawl completes.

--- Additional comment from Worker Ant on 2016-11-17 07:32:13 EST ---

REVIEW: http://review.gluster.org/15869 (geo-rep: Fix Last synced status column
issue during Hybrid Crawl) posted (#1) for review on master by Aravinda VK
(avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-11-29 01:24:49 EST ---

COMMIT: http://review.gluster.org/15869 committed in master by Aravinda VK
(avishwan at redhat.com) 
------
commit 1876454d2e7950f25d1e5bb8e2c07ab27d521498
Author: Aravinda VK <avishwan at redhat.com>
Date:   Thu Nov 17 17:47:29 2016 +0530

    geo-rep: Fix Last synced status column issue during Hybrid Crawl

    During Hybrid crawl, Geo-rep maintains stime xattr in subdirectories along
    with the Brick root. This is done to skip directories if Geo-rep crashes
    before Hybrid crawl completes.

    Update Last synced status only when stime xattr updated in brick root.
    Status output will mislead if it shows sub directory stime as
    last synced time.

    BUG: 1396081
    Change-Id: I5b73aee7ae4a1c1e2d1001d1f55559b9f9efd6e6
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-on: http://review.gluster.org/15869
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Kotresh HR <khiremat at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1396081
[Bug 1396081] Wrong value in Last Synced column during Hybrid Crawl
https://bugzilla.redhat.com/show_bug.cgi?id=1397286
[Bug 1397286] Wrong value in Last Synced column during Hybrid Crawl
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list