diff options
| author | Atin Mukherjee <amukherj@redhat.com> | 2019-03-18 16:08:04 +0530 |
|---|---|---|
| committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2019-04-16 10:49:09 +0000 |
| commit | 55c5e2ecc77bd13dfa66139a1c320e73f703775b (patch) | |
| tree | 1701d11976eafcf582aa46a5497d6afa25a88133 /libglusterfs/src/glusterfs/logging.h | |
| parent | 5946db166a428d37f5bbbb3df802a1e53cab5029 (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#1694610
Change-Id: Ib6a9300ea29633f501abac2ba53fb72ff648c822
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
(cherry picked from commit 34e010d64905b7387de57840d3fb16a326853c9b)
Diffstat (limited to 'libglusterfs/src/glusterfs/logging.h')
0 files changed, 0 insertions, 0 deletions
