gh-ost icon indicating copy to clipboard operation
gh-ost copied to clipboard

Work around CREATE TABLE GCP bug

Open ckolbitsch-work opened this issue 5 years ago • 0 comments

GCP cloud-SQL DBs do not seem to allow using gh-ost due to the way that we create tables (using CREATE TABLE <ghost-table> LIKE <table>). This is a confirmed GCP bug:

https://issuetracker.google.com/issues/158129960

For the time being, this commit adds an option to enable GCP support, using a different CREATE TABLE statement.

Related issue: https://github.com/github/gh-ost/issues/863

Fixes #863

ckolbitsch-work avatar Jul 21 '20 19:07 ckolbitsch-work