Operation ALTER timed out

i have error message when truncate my table, how to fix this?

Operation ALTER timed out while waiting for concurrent operation to finish. Use SHOW PROCESSLIST to investigate long running concurrent operation, or consider increasing the value of alter statement’s timeout value or the default_distributed_ddl_timeout global variable

Hi Sally & Welcome! :wave:

Can you tell me what version you are running?

ALTER TABLE’s require taking a brief global lock to switch over the metadata consistently across the cluster. This lock can’t be taken if there is a long running query vs the table at the time of the ALTER. That is the mostly likely cause of this error.