Galera TOI Online schema upgrade method with Mariadb session setting.
According to the https://mariadb.com/kb/en/innodb-online-ddl-operations-with-the-instant-alter-algorithm/#known-bugs suggestions.
If we are concerned about the instant algorithm's bug, we can SET SESSION alter_algorithm='INPLACE';
before ALTER TABLE .. ADD COLUMN .., Force;
syntax.
We would like to know the suggestion is also work on Galera node with wsrep_OSU_method=TOI or not?
Will the DDL WSREP contains SET SESSION alter_algorithm='INPLACE';
message?
Should we use
ALTER TABLE tab ADD COLUMN c varchar(50), ALGORITHM=COPY, FORCE;
instead?
Thanks.
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.