provide native MySQL behavior when no replication provider
Bug #843252 reported by
Seppo Jaakola
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 |
To post a comment you must log in.
Pushed a fix (#3549), which provides following logic: 'none', the 'dummy' provider stub is active, wsrep hooks will be called, but they will do nothing address= NULL, this is native MySQL mode
* when wsrep_on (session or global) is not set, all wsrep code is skipped
* when wsrep_provider=
* setting wsrep_provider to 'none' will implicitly set also wsrep_on=0 and wsrep_cluster_
* setting wsrep_provider to some real provider value, will implicitly set also wsrep_on=1