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:
MassimilianoPinto
2015-11-16 15:55:08 +01:00
parent 3346c9c30d
commit a90b336cc4

View File

@ -2079,14 +2079,10 @@ blr_stop_start_master(ROUTER_INSTANCE *router) {
}
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;
spinlock_release(&router->lock);
blr_start_master(router);
blr_master_reconnect(router);
}
/**