summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-lock.c
diff options
context:
space:
mode:
authorSanju Rakonde <srakonde@redhat.com>2019-07-12 16:28:04 +0530
committerhari gowtham <hari.gowtham005@gmail.com>2019-07-24 14:15:03 +0000
commitc3aab13faa451d368ef5044fea945cb2d5597434 (patch)
treefc48eea08a3c4cf919781b35bbb54562e8be92e4 /xlators/cluster/dht/src/dht-lock.c
parent8761be7ba773071c46fdc2e449c4d68a26ae2e36 (diff)
glusterd: do not mark skip_locking as true for geo-rep operations
We need to send the commit req to peers in case of geo-rep operations even though it is a no volname operation. In commit phase peers try to set the txn_opinfo which will fail because it is a no volname operation where we don't require a commit phase. We mark skip_locking as true for no volname operations, but we have to give an exception to geo-rep operations, so that they can set txn_opinfo in commit phase. Please refer to detailed RCA at the bug: 1730545 fixes: bz#1730545 Cherrypicked from https://review.gluster.org/#/c/glusterfs/+/23034/ > Change-Id: I9f2478b12a281f6e052035c0563c40543493a3fc > Signed-off-by: Sanju Rakonde <srakonde@redhat.com> Change-Id: I9f2478b12a281f6e052035c0563c40543493a3fc Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-lock.c')
0 files changed, 0 insertions, 0 deletions