Skip to content

gh-ost hangs if global variable autcommit is OFF  #480

@renecannao

Description

@renecannao

If global variable autocommit is OFF , gh-ost makes no progress after it creates the tables, and hangs forever.
Here is an example:

2017-08-30 10:17:56 INFO will use time_zone='SYSTEM' on applier
2017-08-30 10:17:56 INFO Examining table structure on applier
2017-08-30 10:17:56 INFO Applier initiated on mtdtbtest01:3306, version 5.6.36-82.1-log
2017-08-30 10:17:56 INFO Droppping table `schemaname`.`_table_tx_gho`
2017-08-30 10:17:56 INFO Table dropped
2017-08-30 10:17:56 INFO Droppping table `schemaname`.`_table_tx_ghc`
2017-08-30 10:17:56 INFO Table dropped
2017-08-30 10:17:56 INFO Creating changelog table `schemaname`.`_table_tx_ghc`
2017-08-30 10:17:56 INFO Changelog table created
2017-08-30 10:17:56 INFO Creating ghost table `schemaname`.`_table_tx_gho`
2017-08-30 10:17:56 INFO Ghost table created
2017-08-30 10:17:56 INFO Altering ghost table `schemaname`.`_table_tx_gho`
2017-08-30 10:17:56 INFO Ghost table altered
2017-08-30 10:17:56 INFO Waiting for ghost table to be migrated. Current lag is 0s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions