# pre-commit stage

**URL:** <https://forums.percona.com/t/pre-commit-stage/5515>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [March 29, 2017, 6:04am UTC](https://forums.percona.com/t/pre-commit-stage/5515 "2017-03-29T06:04:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jrivera](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jrivera/32/13_2.png) [@jrivera](https://forums.percona.com/u/jrivera)\
**Post date:** [March 30, 2017, 2:03am UTC](https://forums.percona.com/t/pre-commit-stage/5515/2 "2017-03-30T02:03:56Z")

</div>

You can try 3 methods:

Method 1  
execute on each node until all nodes are altered:  
set wsrep\_osu\_method=‘RSU’;  
  
set wsrep\_osu\_method=‘TOI’;

Method 2  
shutdown one node  
start the node without wsrep plugin  
run the alter  
restart the node and let it join the cluster  
do the same on other nodes

Method 3  
Use pt-online-schema-change [url][https://www.percona.com/doc/percona-toolkit/2.2/pt-online-schema-change.html[/url]](https://www.percona.com/doc/percona-toolkit/2.2/pt-online-schema-change.html%5B/url%5D)

For 1 and 2, direct all apps to the nodes that aren’t running the alter.

---

_[View the full topic](https://forums.percona.com/t/pre-commit-stage/5515)._
