Bug #108893 order of stages on the pae '8.14.3 General Thread States' is confused
Submitted: 27 Oct 2022 5:58 Modified: 28 Oct 2022 14:48
Reporter: beon feng Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:8.0.31 OS:Any
Assigned to: Jon Stephens CPU Architecture:Any

[27 Oct 2022 5:58] beon feng
Description:
order of stages on the pae '8.14.3 General Thread States' is confused.
page:https://dev.mysql.com/doc/refman/8.0/en/general-thread-states.html

the stages of thread are sorted alphabetically, which is clear to read. but the 'committing alter table to storage engine' is out of order.

following are some contents of this page:
Creating tmp table
The thread is creating a temporary table in memory or on disk. If the table is created in memory but later is converted to an on-disk table, the state during that operation is Copying to tmp table on disk.

committing alter table to storage engine
The server has finished an in-place ALTER TABLE and is committing the result.

deleting from main table
The server is executing the first part of a multiple-table delete. It is deleting only from the first table, and saving columns and offsets to be used for deleting from the other (reference) tables.

How to repeat:
order of stages on the pae '8.14.3 General Thread States' is confused.
page:https://dev.mysql.com/doc/refman/8.0/en/general-thread-states.html

the stages of thread are sorted alphabetically, which is clear to read. but the 'committing alter table to storage engine' is out of order.

following are some contents of this page:
Creating tmp table
The thread is creating a temporary table in memory or on disk. If the table is created in memory but later is converted to an on-disk table, the state during that operation is Copying to tmp table on disk.

committing alter table to storage engine
The server has finished an in-place ALTER TABLE and is committing the result.

deleting from main table
The server is executing the first part of a multiple-table delete. It is deleting only from the first table, and saving columns and offsets to be used for deleting from the other (reference) tables.
[27 Oct 2022 6:03] MySQL Verification Team
Hello beon feng,

Thank you for the report and feedback.

regards,
Umesh
[27 Oct 2022 6:43] beon feng
all the same to "preparing for alter table"
[28 Oct 2022 14:48] Jon Stephens
Fixed in the 5.7 and 8.0 versions of the Manual.

Closed.

Thanks!