Galera TOI Online schema upgrade method with Mariadb session setting.

According to the 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?



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.