When rotating, all state variables of router are now updated while protected by the router->binlog_lock lock.