path: root/xlators/lib
diff options
authoranand <>2015-07-21 15:42:24 +0530
committerAtin Mukherjee <>2015-08-06 23:24:22 -0700
commit90beb1602cb2926c14a9bd02653cd75b40661cd4 (patch)
tree10add76f47f869d7069ccffb8a2c46c4ab72d964 /xlators/lib
parentb8120c91cb11de7b21f2d6a36f7dc89ad0b7c387 (diff)
glusterd: getting txn_id from frame->cookie in op_sm call back
RCA: If rebalance start is triggered from one node and one of other nodes in the cluster goes down simultaneously we might end up in a case where callback will use the txn_id from priv->global_txn_id which is always zeros and this means injecting an event with an incorrect txn_id will result into op-sm getting stuck. fix: set txn_id in frame->cookie during sumbit_and_request, so that we can get txn_id in call back functions. Back port of : >Change-Id: I519176c259ea9d37897791a77a7c92eb96d10052 >BUG: 1245142 >Signed-off-by: anand <> >Reviewed-on: >Reviewed-by: Atin Mukherjee <> >Tested-by: NetBSD Build System <> >Tested-by: Gluster Build System <> >(cherry picked from commit 65e6ab1bfbbec7755f7ae2294cb83334ac65a296) Change-Id: I376d6c791b0200a8371f590d29c3e950658a02c7 BUG: 1249925 Reviewed-on: Tested-by: NetBSD Build System <> Tested-by: Gluster Build System <> Reviewed-by: Atin Mukherjee <>
Diffstat (limited to 'xlators/lib')
0 files changed, 0 insertions, 0 deletions