Bug 1207115 - geo-rep: add debug logs to master for slave ENTRY operation failures
Summary: geo-rep: add debug logs to master for slave ENTRY operation failures
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milind Changire
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-30 09:23 UTC by Milind Changire
Modified: 2016-06-16 12:45 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.8rc2
Clone Of:
: 1217429 (view as bug list)
Environment:
Last Closed: 2016-06-16 12:45:56 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Milind Changire 2015-03-30 09:23:15 UTC
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:

Comment 1 Anand Avati 2015-03-30 11:24:57 UTC
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)

Comment 2 Anand Avati 2015-03-30 11:26:53 UTC
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)

Comment 3 Anand Avati 2015-03-31 09:47:47 UTC
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)

Comment 4 Anand Avati 2015-03-31 09:50:59 UTC
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)

Comment 5 Anand Avati 2015-04-09 09:31:30 UTC
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)

Comment 6 Anand Avati 2015-04-10 06:30:15 UTC
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)

Comment 7 Anand Avati 2015-04-15 09:45:45 UTC
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)

Comment 8 Anand Avati 2015-04-24 07:18:46 UTC
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)

Comment 9 Anand Avati 2015-04-24 07:30:01 UTC
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)

Comment 10 Anand Avati 2015-04-27 09:59:13 UTC
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)

Comment 11 Anand Avati 2015-04-27 11:52:51 UTC
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)

Comment 12 Anand Avati 2015-04-28 05:05:20 UTC
COMMIT: http://review.gluster.org/10048 committed in master by Vijay Bellur (vbellur) 
------
commit 70a729e9751e45e266f7462443dcf2b6be3cecbe
Author: Milind Changire <mchangir>
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>
    Reviewed-on: http://review.gluster.org/10048
    Reviewed-by: Aravinda VK <avishwan>
    Tested-by: NetBSD Build System
    Tested-by: Gluster Build System <jenkins.com>

Comment 13 Aravinda VK 2015-05-18 10:47:09 UTC
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.7.0, please open a new bug report.

Comment 14 Niels de Vos 2016-06-16 12:45:56 UTC
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.8.0, please open a new bug report.

glusterfs-3.8.0 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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.