Skip to content

Utilize MySQL 8 RENAME TABLE supporting locks #714

@shlomi-noach

Description

@shlomi-noach

MySQL 8 (as of 8.0.13) introduced a change where RENAME TABLE is possible while holding a WRITE LOCK. This has been targeted specifically for gh-ost. See https://dev.mysql.com/doc/refman/8.0/en/rename-table.html and https://mysqlserverteam.com/the-mysql-8-0-13-maintenance-release-is-generally-available/

gh-ost should utilize this new feature on >= 8.0.13.

This will potentialy solve #687

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions