blr_master_reconnect instead of blr_start_master
blr_master_reconnect instead of blr_start_master in blr_stop_start_master
This commit is contained in:
@ -2079,14 +2079,10 @@ blr_stop_start_master(ROUTER_INSTANCE *router) {
|
|||||||
}
|
}
|
||||||
router->residual = NULL;
|
router->residual = NULL;
|
||||||
|
|
||||||
/* Now it is safe to unleash other threads on this router instance */
|
|
||||||
router->reconnect_pending = 0;
|
|
||||||
router->active_logs = 0;
|
|
||||||
|
|
||||||
router->master_state = BLRM_UNCONNECTED;
|
router->master_state = BLRM_UNCONNECTED;
|
||||||
spinlock_release(&router->lock);
|
spinlock_release(&router->lock);
|
||||||
|
|
||||||
blr_start_master(router);
|
blr_master_reconnect(router);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user