provide native MySQL behavior when no replication provider

Bug #843252 reported by Seppo Jaakola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Fix Released
Medium
Seppo Jaakola
5.5
Fix Released
Medium
Seppo Jaakola

Bug Description

All replication 'hooks' are skipped when there is no replication provider loaded. However, there are certain wsrep patch code paths, which remain effective and 100% native MySQL behavior is not guaranteed.
The task is to make sure that when there is no replication provider, no wsrep functionality will be executed.

For verification, all MySQL test suite tests must pass when running without replication provider

description: updated
Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote :

Pushed a fix (#3549), which provides following logic:
* when wsrep_on (session or global) is not set, all wsrep code is skipped
* when wsrep_provider='none', the 'dummy' provider stub is active, wsrep hooks will be called, but they will do nothing
* setting wsrep_provider to 'none' will implicitly set also wsrep_on=0 and wsrep_cluster_address=NULL, this is native MySQL mode
* setting wsrep_provider to some real provider value, will implicitly set also wsrep_on=1

Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote :

with the fix for lp:856155, wsrep patched mysqld should behave like native mysql server

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.