summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2013-09-15 17:55:31 +0530
committerAnand Avati <avati@redhat.com>2013-09-20 11:48:48 -0700
commit78b0b59285b03af65c10a1fd976836bc5f53c167 (patch)
tree71aeded1d140b8a3b03d374f033c7e7ad11d8dab /configure.ac
parentfe16eaa5104cf015461c7b4b8f0d97e613344b1e (diff)
glusterd: Adding transaction checks for cluster unlock.
While a gluster command holding lock is in execution, any other gluster command which tries to run will fail to acquire the lock. As a result command#2 will follow the cleanup code flow, which also includes unlocking the held locks. As both the commands are run from the same node, command#2 will end up releasing the locks held by command#1 even before command#1 reaches completion. Now we call the unlock routine in the code path, of the cluster has been locked during the same transaction. Signed-off-by: Avra Sengupta <asengupt@redhat.com> Change-Id: I7b7aa4d4c7e565e982b75b8ed1e550fca528c834 BUG: 1008172 Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/5937 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions