Skip to content

Conversation

shlomi-noach
Copy link

Based on github#935, we use go mod and replace siddontang/go-mysql with its successor, https://github.com/go-mysql-org/go-mysql

An attempt to see whether this upgrade solves #19

natewernimont-wk and others added 13 commits February 24, 2021 14:14
…github#936)

* v1.1.0

* WIP: copying AUTO_INCREMENT value to ghost table
Initial commit: towards setting up a test suite

Signed-off-by: Shlomi Noach <[email protected]>

* greping for 'expect_table_structure' content

* Adding simple test for 'expect_table_structure' scenario

* adding tests for AUTO_INCREMENT value after row deletes. Should initially fail

* clear event beforehand

* parsing AUTO_INCREMENT from alter query, reading AUTO_INCREMENT from original table, applying AUTO_INCREMENT value onto ghost table if applicable and user has not specified AUTO_INCREMENT in alter statement

* support GetUint64

Signed-off-by: Shlomi Noach <[email protected]>

* minor update to test

Signed-off-by: Shlomi Noach <[email protected]>

* adding test for user defined AUTO_INCREMENT statement

* Generated column as part of UNIQUE (or PRIMARY) KEY

Signed-off-by: Shlomi Noach <[email protected]>

* skip analysis of generated column data type in unique key

Signed-off-by: Shlomi Noach <[email protected]>

* All MySQL DBs limited to max 3 concurrent/idle connections

Signed-off-by: Shlomi Noach <[email protected]>

* hooks: reporting GH_OST_ETA_SECONDS. ETA stored as part of migration context

Signed-off-by: Shlomi Noach <[email protected]>

* GH_OST_ETA_NANOSECONDS

Signed-off-by: Shlomi Noach <[email protected]>

* N/A denoted by negative value

Signed-off-by: Shlomi Noach <[email protected]>

* ETAUnknown constant

Signed-off-by: Shlomi Noach <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants