Comment 4 for bug 1353644

Revision history for this message
Alexey Kopytov (akopytov) wrote :

This code from binlog_init() is the root cause:

#ifdef WITH_WSREP
  if (WSREP_ON)
    binlog_hton->state= SHOW_OPTION_YES;
  else
  {
#endif /* WITH_WSREP */
  binlog_hton->state=opt_bin_log ? SHOW_OPTION_YES : SHOW_OPTION_NO;
#ifdef WITH_WSREP
  }
#endif /* WITH_WSREP */

That is, unlike PS, PXC has binlog emulation, which makes start_snapshot_handlerton() think it can request a consistent snapshot from the binlog 'handlerton', but the binlog is not actually initialized.