+++ This bug was initially created as a clone of Bug #1377097 +++ Description of problem: 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. Version-Release number of selected component (if applicable): all How reproducible: 100% Steps to Reproduce: 1. enable features.cache-invalidation on a volume 2. start a capture of network traffic (tcpdump -iany -s0 -w/tmp/out.pcap tcp) 3. create and delete some files on the mountpoint 4. inspect the .pcap file with Wireskark and filter on 'glusterfs.cbk' 5. notice the "RPC retransmission of #..." on all callback packets Actual results: Wireshark thinks all callback packets are a retransmission. This is not the case, the contents of the packets are different (except for the rpc.xid). Expected results: The rpc.xid should increase for each callback that gets sent (per client). Additional info: --- Additional comment from Worker Ant on 2016-09-18 14:15:34 CEST --- REVIEW: http://review.gluster.org/15524 (rpc: increase RPC/XID with each callback) posted (#1) for review on master by Niels de Vos (ndevos) --- Additional comment from Niels de Vos on 2016-09-18 14:16 CEST --- tcpdump with the patch applied, showing the RPC/XID increasing per client (different ports, all on the same localhost) --- Additional comment from Worker Ant on 2016-09-19 11:32:08 CEST --- COMMIT: http://review.gluster.org/15524 committed in master by Raghavendra G (rgowdapp) ------ commit e9b39527d5dcfba95c4c52a522c8ce1f4512ac21 Author: Niels de Vos <ndevos> Date: Fri Sep 16 17:29:21 2016 +0200 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> Reviewed-on: http://review.gluster.org/15524 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Raghavendra G <rgowdapp>
REVIEW: http://review.gluster.org/15528 (rpc: increase RPC/XID with each callback) posted (#1) for review on release-3.8 by Niels de Vos (ndevos)
COMMIT: http://review.gluster.org/15528 committed in release-3.8 by Raghavendra G (rgowdapp) ------ commit e9478b620fbcbc2bdca9e8a34e5b47e93926f0d2 Author: Niels de Vos <ndevos> Date: Fri Sep 16 17:29:21 2016 +0200 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> > Reviewed-on: http://review.gluster.org/15524 > Smoke: Gluster Build System <jenkins.org> > NetBSD-regression: NetBSD Build System <jenkins.org> > CentOS-regression: Gluster Build System <jenkins.org> > Reviewed-by: Raghavendra G <rgowdapp> (cherry picked from commit e9b39527d5dcfba95c4c52a522c8ce1f4512ac21) Change-Id: I2116bec0e294df4046d168d8bcbba011284cd0b2 BUG: 1377290 Signed-off-by: Niels de Vos <ndevos> Reviewed-on: http://review.gluster.org/15528 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Raghavendra G <rgowdapp>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.5, please open a new bug report. glusterfs-3.8.5 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://www.gluster.org/pipermail/announce/2016-October/000061.html [2] https://www.gluster.org/pipermail/gluster-users/