[Bugs] [Bug 1217429] New: geo-rep: add debug logs to master for slave ENTRY operation failures

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 30 10:56:13 UTC 2015


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

            Bug ID: 1217429
           Summary: geo-rep: add debug logs to master for slave ENTRY
                    operation failures
           Product: GlusterFS
           Version: 3.7.0
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: mchangir at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    vbellur at redhat.com



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

Description of problem:
Slave ENTRY operation failures cannot be traced due to lack of information on
failing operations


Version-Release number of selected component (if applicable):
mainline

How reproducible:
CREATE
Mount file-system on slave and create a file
Mount file-system on master the create the same file
Operation should fail on slave and there's no trace left behind about the
failure

Similarly, RENAME and UNLINK operations also need to be tracked for failures on
slave

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-03-30 07:24:57 EDT ---

REVIEW: http://review.gluster.org/10048 (add logging on master for ENTRY
operation errors from slave) posted (#1) for review on master by Milind
Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-03-30 07:26:53 EDT ---

REVIEW: http://review.gluster.org/10048 (geo-rep: add logging on master for
ENTRY operation errors from slave) posted (#2) for review on master by Milind
Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-03-31 05:47:47 EDT ---

REVIEW: http://review.gluster.org/10048 (add logging on master for ENTRY
operation errors from slave) posted (#3) for review on master by Milind
Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-03-31 05:50:59 EDT ---

REVIEW: http://review.gluster.org/10048 (geo-rep: add logging on master for
ENTRY operation errors from slave) posted (#4) for review on master by Milind
Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-04-09 05:31:30 EDT ---

REVIEW: http://review.gluster.org/10048 (features/geo-rep: add logging on
master for ENTRY operation errors from slave) posted (#5) for review on master
by Milind Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-04-10 02:30:15 EDT ---

REVIEW: http://review.gluster.org/10048 (features/geo-rep: add logging on
master for ENTRY operation errors from slave) posted (#6) for review on master
by Milind Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-04-15 05:45:45 EDT ---

REVIEW: http://review.gluster.org/10048 (geo-rep: add logging on master for
ENTRY operation errors from slave) posted (#7) for review on master by Milind
Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-04-24 03:18:46 EDT ---

REVIEW: http://review.gluster.org/10048 (geo-rep: add logging on master for
ENTRY operation errors from slave) posted (#8) for review on master by Milind
Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-04-24 03:30:01 EDT ---

REVIEW: http://review.gluster.org/10048 (geo-rep: add logging on master for
ENTRY operation errors from slave) posted (#9) for review on master by Milind
Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-04-27 05:59:13 EDT ---

REVIEW: http://review.gluster.org/10048 (geo-rep: add logging on master for
ENTRY operation errors from slave) posted (#10) for review on master by Milind
Changire (mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-04-27 07:52:51 EDT ---

REVIEW: http://review.gluster.org/10048 (geo-rep: log ENTRY failures from slave
on master) posted (#11) for review on master by Milind Changire
(mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-04-28 01:05:20 EDT ---

COMMIT: http://review.gluster.org/10048 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 70a729e9751e45e266f7462443dcf2b6be3cecbe
Author: Milind Changire <mchangir at redhat.com>
Date:   Mon Mar 30 16:53:05 2015 +0530

    geo-rep: log ENTRY failures from slave on master

    ENTRY operations failures on slave left no trace for debugging purposes.
    This patch captures such failures on slave cluster and forwards them to
    the master and logs them. Failures of specific interest are the ones
    which return code EEXIST on the failing operations.

    Change-Id: Iecab876f16593c746d53f4b7ec2e0783367856bb
    BUG: 1207115
    Signed-off-by: Milind Changire <mchangir at redhat.com>
    Reviewed-on: http://review.gluster.org/10048
    Reviewed-by: Aravinda VK <avishwan at redhat.com>
    Tested-by: NetBSD Build System
    Tested-by: Gluster Build System <jenkins at build.gluster.com>

-- 
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