[Bugs] [Bug 1374626] New: Worker crashes with EINVAL errors

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 9 09:04:43 UTC 2016


            Bug ID: 1374626
           Summary: Worker crashes with EINVAL errors
           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: 1373373

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

Description of problem:
During Hybrid crawl if the files are unlinked then worker crashes with EINVAL

Steps to Reproduce:
1. Create Master Volume and generate data
2. Create Slave Volume and establish Geo-rep session and start(Starts with
Hybrid Crawl for initial sync)
3. Once started wait for 2-5 seconds and delete files.

Actual results:
Worker crashes with EINVAL traceback

Expected results:
Workers should not crash

--- Additional comment from Worker Ant on 2016-09-06 02:40:28 EDT ---

REVIEW: http://review.gluster.org/15404 (geo-rep: Fix ESTALE/EINVAL issue
during set_{xtime,stime}) posted (#1) for review on master by Aravinda VK
(avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-09-08 12:15:45 EDT ---

COMMIT: http://review.gluster.org/15404 committed in master by Aravinda VK
(avishwan at redhat.com) 
commit 9db2826cd8dbcc0fb58f5434c21d00ca5c15c491
Author: Aravinda VK <avishwan at redhat.com>
Date:   Tue Sep 6 12:02:02 2016 +0530

    geo-rep: Fix ESTALE/EINVAL issue during set_{xtime,stime}

    Setfattr may get ESTALE/EINVAL if a file is being unlinked.
    To prevent worker crashing, added retry for these error messages.

    On second retry it will get ENOENT and that error is handled by

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

Referenced Bugs:

[Bug 1373373] Worker crashes with EINVAL errors
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