ctdb-call: Drop all deferred requests from older generation
authorAmitay Isaacs <amitay@gmail.com>
Tue, 2 Sep 2014 06:10:20 +0000 (16:10 +1000)
committerMartin Schwenke <martins@samba.org>
Fri, 5 Sep 2014 07:30:50 +0000 (09:30 +0200)
commit2c57cc9597cb9cfe5ab3a458df74d6b5cda45465
treeb0dd1299b054fb0ddb832b9a05b8c2b135f28f99
parent6f072f85a138f595494dbec137bcf23d1e666acc
ctdb-call: Drop all deferred requests from older generation

Deferring packets has a nasty interaction with recovery.  All deferred
packets must be dropped when recovery happens, since those packets are
tracked as pending requests and will be re-sent with new generation.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Sep  5 09:30:50 CEST 2014 on sn-devel-104
ctdb/server/ctdb_call.c