ctdb-daemon: Fix printing of tickle ACKs
commit3efa56aa61da952f869f43188b0d53a11c820ca0
authorMartin Schwenke <martin@meltin.net>
Tue, 5 Jul 2022 09:33:15 +0000 (5 19:33 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 28 Jul 2022 09:02:08 +0000 (28 09:02 +0000)
tree44d699d3f519b46722c68cba1c1afb6894770de4
parentffa84f2e5d335626b5f7311af8d2a7056b3e5c6f
ctdb-daemon: Fix printing of tickle ACKs

Commit f5a20377347aba18700d010d4201775fc83a0b1b arguably got this
back-to-front:

  2022-07-27T09:50:01.985857+10:00 testn1 ctdbd[17820]: ../../ctdb/server/ctdb_takeover.c:514 sending TAKE_IP for '10.0.1.173'
  2022-07-27T09:50:01.990601+10:00 testn1 ctdbd[17820]: Send TCP tickle ACK: 10.0.1.77:33004 -> 10.0.1.173:2049
  2022-07-27T09:50:01.991323+10:00 testn1 ctdb-takeover[19758]: TAKEOVER_IP 10.0.1.173 succeeded on node 0

Unfortunately there is an inconsistency somewhere in the connection
tracking code used for tickle ACKs, making this less than obvious.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Jul 28 09:02:08 UTC 2022 on sn-devel-184
ctdb/server/ctdb_takeover.c