In wsrep_view_handler_cb() state gap handling client connections are closed unconditionally. There should not be any reason for this as client connections will be closed if SST really happens. In case of IST connections can stay open.
Corresponding code:
WSREP_WARN("Gap in state sequence. Need state transfer.");
/* After that wsrep will call wsrep_sst_prepare. */
/* keep ready flag 0 until we receive the snapshot */
wsrep_ready_set(FALSE);
/* Close client connections to ensure that they don't interfere
* with SST */
WSREP_DEBUG("[debug]: closing client connections for PRIM");
wsrep_close_client_connections(TRUE);
In wsrep_view_ handler_ cb() state gap handling client connections are closed unconditionally. There should not be any reason for this as client connections will be closed if SST really happens. In case of IST connections can stay open.
Corresponding code:
WSREP_WARN("Gap in state sequence. Need state transfer.");
/* After that wsrep will call wsrep_sst_prepare. */ ready_set( FALSE);
/* keep ready flag 0 until we receive the snapshot */
wsrep_
/* Close client connections to ensure that they don't interfere DEBUG(" [debug] : closing client connections for PRIM"); close_client_ connections( TRUE);
* with SST */
WSREP_
wsrep_