Bug 1433838

Summary: Move spit-brain msg in read txn to debug
Product: [Community] GlusterFS Reporter: Ravishankar N <ravishankar>
Component: replicateAssignee: Ravishankar N <ravishankar>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.11.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1434302 1434303 (view as bug list) Environment:
Last Closed: 2017-05-30 18:47:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1434302, 1434303    

Description Ravishankar N 2017-03-20 04:47:34 UTC
I am seeing a lot of messages in qe/customer logs where read_txn
    complains that file is possibly in split-brain because of no readable
    subvol being found, does inode refresh and then there is no split-brain
    message post the inode refresh. This means that a lookup was not issued
    on the indoe to populate 'readable' or it can mean one brick is source
    for data and the other for metadata, making readable to be zero (because
    readable=intersection of (data,metadata readable) since commit
    7a1c1e290470149696.

    Since we anyway log actual split-brains post inode-refresh, move this
    message to DEBUG log level.

Comment 1 Worker Ant 2017-03-20 04:48:18 UTC
REVIEW: https://review.gluster.org/16879 (afr: do not mention split-brain in log message in read_txn) posted (#3) for review on master by Ravishankar N (ravishankar)

Comment 2 Worker Ant 2017-03-20 09:39:30 UTC
REVIEW: https://review.gluster.org/16879 (afr: do not mention split-brain in log message in read_txn) posted (#4) for review on master by Ravishankar N (ravishankar)

Comment 3 Worker Ant 2017-03-20 13:58:53 UTC
COMMIT: https://review.gluster.org/16879 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit 71e023fcaab0058f32fedc7b6b702040fdd85f46
Author: Ravishankar N <ravishankar>
Date:   Sun Mar 19 22:42:33 2017 +0530

    afr: do not mention split-brain in log message in read_txn
    
    I am seeing a lot of messages in qe/customer logs where read_txn
    complains that file is possibly in split-brain because of no readable
    subvol being found, does inode refresh and then there is no split-brain
    message post the inode refresh. This means that a lookup was not issued
    on the indoe to populate 'readable' or it can mean one brick is source
    for data and the other for metadata, making readable to be zero (because
    readable=intersection of (data,metadata readable) since commit
    7a1c1e290470149696.
    
    Since we anyway log actual split-brains post inode-refresh, move this
    message to DEBUG log level.
    
    Change-Id: Idb88b8ea362515279dc9b246f06b6b646c6d8013
    BUG: 1433838
    Signed-off-by: Ravishankar N <ravishankar>
    Reviewed-on: https://review.gluster.org/16879
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Tested-by: Pranith Kumar Karampuri <pkarampu>
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 4 Shyamsundar 2017-05-30 18:47:35 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.11.0, please open a new bug report.

glusterfs-3.11.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://lists.gluster.org/pipermail/announce/2017-May/000073.html
[2] https://www.gluster.org/pipermail/gluster-users/