Problem
Adding columns beyond the 1024th column using Instant add column causes a crash.
Issue-Triggering Scenario
In versions of TXSQL 8.0 prior to 3.1.15.001, Instant add column operations were permitted even when the row size exceeded half the page size. After the kernel version is upgraded, rollback operations may cause the row size to exceed the limit, resulting in rollback failure.
Kernel Version Related to the Issue
TXSQL 8.0 versions prior to 3.1.15.001.
Fixed Kernel Version
TXSQL 8.0 3.1.16.003.
Check Method
You can refer to the following command to scan for tables with potential risks.
select replace(name, '/', '.') as 'table_schema.table_name' from information_schema.innodb_tables where TOTAL_ROW_VERSIONS!=0 or INSTANT_COLS!=0;
Fixing Method
2. After the kernel version is upgraded, rebuild and repair corrupted tables using alter table xx engine = innodb;. To avoid business impact caused by table locking, it is recommended to perform repairs during off-peak hours using tools such as pt-osc.