RSU implementation

Bug #887563 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.1
New
Undecided
Unassigned
5.5
Fix Released
Medium
Seppo Jaakola

Bug Description

Implement rolling schema upgrade support in mysql side.

Online schema upgrade (OSU) is a feature enabling schema changes while cluster is online. With this enhancement, the cluster will have two separate OSU methods:
* total order isolation (TOI)
* rolling schema upgrade (RSU)

A little bit of design:

1. A new option variable must be introduced to choose between TOI and RSU methods
2. DDL processing must switch between TOI and RSU methods
3. RSU method must call wsrep->desync() and wsrep->resync() before and after the DDL processing
4. RSU method should also set THD's wsrep_on to 0 during DDL phase, this is convenience for the caller

A sibling task: https://bugs.launchpad.net/codership-mysql/+bug/887564 implements functionality to dictate whole cluster in STATEMENT replication during the OSU process. This may turn out inevitable act.

Changed in codership-mysql:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Seppo Jaakola (seppo-jaakola)
milestone: none → 5.5.16-22.3
description: updated
Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote :

Intermediate implementation is pushed in wsrep-5.5 change set: http://bazaar.launchpad.net/~codership/codership-mysql/wsrep-5.5/revision/3609

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.