diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2019-03-18 16:08:04 +0530 |
---|---|---|
committer | Sanju Rakonde <srakonde@redhat.com> | 2019-03-25 17:51:22 +0530 |
commit | 34e010d64905b7387de57840d3fb16a326853c9b (patch) | |
tree | 8eb1b0792d3fd3db3317ec76d5e80e92c901c190 /xlators/cluster/afr | |
parent | 4acf03d304e88ca3d10d3d7076208f1462228bbb (diff) |
glusterd: fix txn-id mem leak
This commit ensures the following:
1. Don't send commit op request to the remote nodes when gluster v
status all is executed as for the status all transaction the local
commit gets the name of the volumes and remote commit ops are
technically a no-op. So no need for additional rpc requests.
2. In op state machine flow, if the transaction is in staged state and
op_info.skip_locking is true, then no need to set the txn id in the
priv->glusterd_txn_opinfo dictionary which never gets freed.
Fixes: bz#1691164
Change-Id: Ib6a9300ea29633f501abac2ba53fb72ff648c822
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/cluster/afr')
0 files changed, 0 insertions, 0 deletions