diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2014-11-28 12:03:24 +0530 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2014-11-30 22:21:49 -0800 |
commit | 4ad587a25ff218248f96696305d505c0d37c82f5 (patch) | |
tree | dad9628eba35753c42f1d6bdc91ff7a490a51c89 /tests/bugs/bug-978794.t | |
parent | a435f62853832d3b5a52ab20227399ea921fc8ce (diff) |
glusterd: logging improvement in txn_opinfo getter/setter function
There is a code path (__glusterd_handle_stage_op) where glusterd_get_txn_opinfo
may fail to get a valid transaction id if there is no volume name provided in
the command, however if this function fails to get a txn id in op state machine
then its a serious issue and op-sm is impacted. From debugability aspect gf_log
() can never give the consumer of this function, so logging these failures with
gf_log_calling_fn is must here.
Change-Id: I4937a9fb20cc6a747fd30dcd9fd4936398d0602a
BUG: 1168809
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/9207
Reviewed-by: Avra Sengupta <asengupt@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'tests/bugs/bug-978794.t')
0 files changed, 0 insertions, 0 deletions