path: root/rpc/rpc-lib
diff options
authorPranith Kumar K <>2014-08-08 11:52:17 +0530
committerPranith Kumar Karampuri <>2014-08-26 01:17:23 -0700
commitdc450ab5e3798b47e89e90b64c49cb8e1f20efce (patch)
treeed57707d0b7e5194bc828e16d95c020e294fba90 /rpc/rpc-lib
parent71095db8f40888f6afc604c896c296dbe988d292 (diff)
cluster/afr: Fix all locked_on bricks are sinks check in self-heals
Problem: Counts may give wrong results when the number of bricks is > 2. If the locks are acquired on one source and sink, but the source accuses even the down sink then there will be 2 sinks and lock is acquired on 2 bricks so even when there is a clear source and sink **_finalize_source functions think the file/directory is in split-brain. Fix: Check that all the bricks which are locked are sinks. Change-Id: Ia43790e8e1bfb5e72a3d0b56bcad94abd0dc58ab BUG: 1128721 Signed-off-by: Pranith Kumar K <> Reviewed-on: Reviewed-by: Ravishankar N <> Reviewed-by: Krutika Dhananjay <> Tested-by: Gluster Build System <>
Diffstat (limited to 'rpc/rpc-lib')
0 files changed, 0 insertions, 0 deletions