Comment 0 for bug 1258658

Revision history for this message
Teemu Ollakka (teemu-ollakka) wrote :

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);