diff options
author | Niels de Vos <ndevos@redhat.com> | 2016-09-16 17:29:21 +0200 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2016-09-19 02:32:03 -0700 |
commit | e9b39527d5dcfba95c4c52a522c8ce1f4512ac21 (patch) | |
tree | b52eef4523085daa76f41352b62fdab13f7ca16f /tests/bugs/ec | |
parent | e38dff5b4e0f0a25db664810fc3617eac44673ce (diff) |
rpc: increase RPC/XID with each callback
The RPC/XID for callbacks has been hardcoded to GF_UNIVERSAL_ANSWER. In
Wireshark these RPC-calls are marked as "RPC retransmissions" because of
the repeating RPC/XID. This is most confusing when verifying the
callbacks that the upcall framework sends. There is no way to see the
difference between real retransmissions and new callbacks.
This change was verified by create and removal of files through
different Gluster clients. The RPC/XID is increased on a per connection
(or client) base. The expectations of the RPC protocol are met this way.
Change-Id: I2116bec0e294df4046d168d8bcbba011284cd0b2
BUG: 1377097
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/15524
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'tests/bugs/ec')
0 files changed, 0 insertions, 0 deletions