Stop the Avrorouter when MaxScale is shutting down
This allows for a faster controlled shutdown when binary log files are being indexed.
This commit is contained in:
parent
7e9db7ed0c
commit
488a9d24e3
@ -501,7 +501,7 @@ avro_binlog_end_t avro_read_all_events(AVRO_INSTANCE *router)
|
||||
return AVRO_BINLOG_ERROR;
|
||||
}
|
||||
|
||||
while (1)
|
||||
while (!router->service->svc_do_shutdown)
|
||||
{
|
||||
int n;
|
||||
/* Read the header information from the file */
|
||||
|
Loading…
x
Reference in New Issue
Block a user