Recent fix to deferred request handling in bug 12697 creates the deferred requests off ctdb_db context. They should really be created off the calling contexts. In case a client disconnects while waiting for readonly revoke, the deferred request will not get freed and will execute callback function with non-existent client context.
Created attachment 13802 [details] Patches for v4-6
Created attachment 13803 [details] Patches for v4-7
Hi Karolin, This is ready for 4.6 and 4.7. Thanks...
(In reply to Martin Schwenke from comment #3) Pushed to autobuild-v4-{7,6}-test.
Pushed to both branches. Closing out bug report. Thanks!