empty binlog files appear in data directory

Bug #318966 reported by Seppo Jaakola
2
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Fix Released
Low
Seppo Jaakola

Bug Description

If RBR level binlogging is enabled, mysqld does not write replication events to the binlog files.
wsrep catches the events and replicates before the write to binlog file would happen.

This should be changed so that binlog files are appended in same way as with native mysqld.
Also, it seems that there should be new option variable for telling if wsrep should replicate on
SQL or RBR level (wsrep_replication_level or something).

Changed in codership-mysql:
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote :

There was a bug in binlog event management for autocommit queries. STMT_END_F was not set.
Modified MYSQL_LOG::is_open() to return true, if wsrep emulates binlog usage (and not writing to real file).
This enables control to pass to THD::binlog_query(), where flag will be set correctly.

Changed in codership-mysql:
assignee: nobody → seppo-jaakola
Changed in codership-mysql:
milestone: none → demo-2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.