If smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP") is triggered from within ctdbd_migrate(), we'll get a smb_panic complaining about invalid lock_order, as ctdbd_migrate is called from dbwrap_fetch_locked().
Created attachment 9705 [details] Patches for master
Created attachment 9706 [details] Patch for 4.0.13
Created attachment 9707 [details] Patch for v4-1-test
Created attachment 9708 [details] Patch for v4-0-test
Karolin please pick for 4.0.next, 4.1.next.
(In reply to comment #5) > Karolin please pick for 4.0.next, 4.1.next. Pushed to autobuild-v4-1-test and autobuild-v4-0-test.
(In reply to comment #6) > (In reply to comment #5) > > Karolin please pick for 4.0.next, 4.1.next. > > Pushed to autobuild-v4-1-test and autobuild-v4-0-test. Pushed to v4-1-test. Re-pushed to autobuild-v4-0-test.
Pushed to both branches. Closing out bug report. Thanks!