Description of problem: There is no log messages available for the split brain case in glusterfs Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
All important log messages in AFR have been converted to use the new logging framework. Split-brain related messages now appear in the gluster logs (either client mount log or gluster selfheal daemon log file). The message ID for split-brain related messages is 108008
Please close this if the fix has already made it into a RHS/RHGS release. It should be in looking at the date of comment#2.
Fix is there in RHGS. Here's a sample output from the mount logs on RHGS-3.1.2: -------------------------- [2016-01-14 09:30:36.003926] I [MSGID: 108031] [afr-common.c:1881:afr_local_discovery_cbk] 0-testvol-replicate-0: selecting local read_child testvol-client-0 [2016-01-14 09:30:36.004154] I [MSGID: 108031] [afr-common.c:1881:afr_local_discovery_cbk] 0-testvol-replicate-0: selecting local read_child testvol-client-1 [2016-01-14 09:30:36.013367] E [MSGID: 108008] [afr-read-txn.c:89:afr_read_txn_refresh_done] 0-testvol-replicate-0: Failing READ on gfid 2da7f1c5-6676-4f8b-8d91-f0baa6280aeb: split-brain observed. [Input/output error] [2016-01-14 09:30:36.013601] W [fuse-bridge.c:2218:fuse_readv_cbk] 0-glusterfs-fuse: 48: READ => -1 (Input/output error) [2016-01-14 09:30:36.015218] W [MSGID: 108008] [afr-read-txn.c:250:afr_read_txn] 0-testvol-replicate-0: Unreadable subvolume -1 found with event generation 6 for gfid 2da7f1c5-6676-4f8b-8d91-f0baa6280aeb. (Possible split-brain) [2016-01-14 09:30:36.019438] E [MSGID: 108008] [afr-read-txn.c:89:afr_read_txn_refresh_done] 0-testvol-replicate-0: Failing READ on gfid 2da7f1c5-6676-4f8b-8d91-f0baa6280aeb: split-brain observed. [Input/output error] [2016-01-14 09:30:36.019596] W [fuse-bridge.c:2218:fuse_readv_cbk] 0-glusterfs-fuse: 49: READ => -1 (Input/output error) --------------------------------------- Closing the bug.