diff options
author | anand <anekkunt@redhat.com> | 2015-06-08 00:19:00 +0530 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2015-07-06 06:01:36 -0700 |
commit | c9765bcb1557ab1e921080e7de4f3ebac1e424d5 (patch) | |
tree | cb626a7dc74223299c7a3e2192bee425ceee0e8f /xlators/mgmt/glusterd/src/glusterd-hooks.c | |
parent | 69c48f592afad1eb15a1f355226bda077c2ec1ef (diff) |
glusterd: Get the local txn_info based on trans_id in op_sm call backs.
Issue: when two or more transactions are running concurrently in op_sm,
global op_info might get corrupted.
Fix: Get local txn_info based on trans_id instead of using global txn_info for
commands (re-balance, profile ) which are using op_sm in originator.
TODO: Handle errors properly in call backs and completely remove the global op_info from
op_sm.
Change-Id: I9d61388acc125841ddc77e2bd560cb7f17ae0a5a
BUG: 1229139
Signed-off-by: anand <anekkunt@redhat.com>
Reviewed-on: http://review.gluster.org/11120
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-hooks.c')
0 files changed, 0 insertions, 0 deletions