Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.2.12
-
None
-
MXS-SPRINT-64
Description
In some cases avrorouter just works and .avro files are created as expected, but in the log of MaxScale we may see messages like these:
2018-08-02 10:32:38 error : Failed to initialize avrofile.
|
2018-08-02 10:32:38 error : [avrorouter] Failed to open file '/var/lib/maxscale/avro/DB.table1.000001.avro' when generating file index.
|
2018-08-02 10:32:38 notice : [avrorouter] End of binlog file [binlog.000002] at 362 with a close event. Rotating to next binlog file [binlog.000003].
|
2018-08-02 10:32:38 error : Failed to initialize avrofile.
|
2018-08-02 10:32:38 error : [avrorouter] Failed to open file '/var/lib/maxscale/avro/DB.table2.000001.avro' when generating file index.
|
...
|
2018-08-02 10:32:38 error : Failed to initialize avrofile. (subsequent similar messages suppressed for 10000 milliseconds)
|
...
|
These messages are either false positives (and then should not be marked as errors) or they miss useful information about possible reason for the error.
So, it's hard to decide if it's safe to ignore them when everything seems to work fine...