summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorMohammed Rafi KC <rafi.kavungal@iternity.com>2020-07-29 13:42:53 +0530
committerRavishankar N <ravishankar@redhat.com>2020-08-13 04:20:36 +0000
commit320bf93d36a1c20d661cb11968825fc055fcc168 (patch)
tree9d7c7f938fbd64dbd27070c6cfe4d695c7001404 /run-tests.sh
parentb759709f947da57e00b44262fa3fa72a53557ca2 (diff)
afr/split-brain: fix client side split-brain resolution when quorum is enabled
Problem: If we set favourite child policy, then automatic split-brain resolution should work in all cases. This was failing when quorum count was set to a non-zero value. The initial lookup before the read txn was failing with ENOTCONN. Since we don't have a readable subvol, we were failing it. We were only looking to the split brain resolution choice set through the cli command. Fix: We will now consider the favourite child policy if split-brain choice has not been set via cli command. Change-Id: Id2016c3a90d0763ac6f1a0131571053f595576f0 Fixes: #1404 Signed-off-by: Mohammed Rafi KC <rafi.kavungal@iternity.com>
Diffstat (limited to 'run-tests.sh')
0 files changed, 0 insertions, 0 deletions