path: root/rpc/rpc-lib/src
diff options
authorMichael Adam <>2017-06-13 14:44:39 +0200
committerAtin Mukherjee <>2017-08-01 10:11:37 +0000
commit3023c4bd7651d4503830c36676cd08864e315cdf (patch)
tree580263598e745bd55b83bc37d08e3a45a4a799a4 /rpc/rpc-lib/src
parented0a3acfccbbfc96f417d8dba880e3d070bb0043 (diff)
glusterd: streamline logic flow in glusterd_validate_quorum()
Make an earlier exit when the volume is not of server quorum. Thereby it spares the actual quorum calculation in this case. This also increases the overall readability of the function. The patch is best seen with the --patience diff option to understand what it does (e.g. "git show --patience"). Change-Id: Ifce50bc3f73d79d3d6226473661a83696d65149a BUG: 1476719 Signed-off-by: Michael Adam <> Reviewed-on: Smoke: Gluster Build System <> Tested-by: Atin Mukherjee <> CentOS-regression: Gluster Build System <> Reviewed-by: Amar Tumballi <> Reviewed-by: Atin Mukherjee <>
Diffstat (limited to 'rpc/rpc-lib/src')
0 files changed, 0 insertions, 0 deletions