Do avro conversion in main thread

The avrorouter no longer uses the housekeeper for the conversion
task. This prevents the deadlock which could occur when clients were
notified at the same time that the binlogrouter was adding a master
reconnection task.
This commit is contained in:
Markus Mäkelä
2018-05-22 14:49:12 +03:00
parent 16d2ff9564
commit 3fce61a615
2 changed files with 19 additions and 18 deletions

View File

@ -229,6 +229,7 @@ struct Avro
* a flush of all tables */
uint64_t block_size; /**< Avro datablock size */
enum mxs_avro_codec_type codec; /**< Avro codec type, defaults to `null` */
uint32_t task_handle; /**< Delayed task handle */
};
struct AvroSession