Post merge fix. In write_incident, check if binlog file is opened before actually trying to write the incident event.
Attach a file by drag & drop or click to upload