path: root/cli/src
diff options
authorKrutika Dhananjay <>2017-01-10 13:26:02 +0530
committerPranith Kumar Karampuri <>2017-01-11 22:42:02 -0800
commit5b24934668adb89e1dcd3888ac19555056508f06 (patch)
tree4ba29cac7df7b8a930a8ba9a42c2e888988d8164 /cli/src
parentbb438d849a4a3941c1a9b525213f695f0a2c961b (diff)
cluster/afr: Do not log of split-brain when there isn't one
* Even on errors like ENOENT, AFR logs split-brain after read-txn refresh, introduced by commit a07ddd8f. This can be a cause of much panic and confusion and needs to be fixed. * Also fixed this issue in write-txns. * Fixed afr read txns to log about split-brain only after knowing that there is no split-brain choice configured. * Removed code duplication * Fixed incorrect passing of error code in afr_write_txn_refresh_done() (the function was passing -0 as errno to gf_msg(). Change-Id: I354f454ce5bf0e5f00bc27916eb597367cb7d927 BUG: 1411625 Signed-off-by: Krutika Dhananjay <> Reviewed-on: Smoke: Gluster Build System <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Ravishankar N <> Reviewed-by: Pranith Kumar Karampuri <>
Diffstat (limited to 'cli/src')
0 files changed, 0 insertions, 0 deletions