The Wayback Machine - https://web.archive.org/web/20201121003933/https://github.com/github/gh-ost/pull/788
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

context, status and hooks: progressPct and CurrentLag #788

Merged
merged 5 commits into from Oct 30, 2019
Merged

Conversation

@shlomi-noach
Copy link
Contributor

@shlomi-noach shlomi-noach commented Oct 6, 2019

A few changes for different objectives but related in essence:

  • Compute and store progressPct in migration context
  • Output replication lag in short status
  • Support GH_OST_INSPECTED_LAG and GH_OST_PROGRESS in hooks.

Related: #784

Shlomi Noach added 2 commits Oct 6, 2019
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing Oct 7, 2019 Inactive
@shlomi-noach
Copy link
Contributor Author

@shlomi-noach shlomi-noach commented Oct 7, 2019

Copy: 72500/375190 19.3%; Applied: 0; Backlog: 0/1000; Time: 7s(total), 4s(copy); streamer: mysql-bin.015777:27167004; Lag: 1, State: migrating; ETA: 16s
Copy: 97500/375190 26.0%; Applied: 1; Backlog: 0/1000; Time: 8s(total), 5s(copy); streamer: mysql-bin.015777:35686181; Lag: 0, State: migrating; ETA: 14s
Copy: 122500/375190 32.7%; Applied: 2; Backlog: 0/1000; Time: 9s(total), 6s(copy); streamer: mysql-bin.015777:43903526; Lag: 0, State: migrating; ETA: 12s
Copy: 147500/375190 39.3%; Applied: 3; Backlog: 0/1000; Time: 10s(total), 7s(copy); streamer: mysql-bin.015777:52202838; Lag: 1, State: migrating; ETA: 10s
Copy: 172500/375190 46.0%; Applied: 3; Backlog: 0/1000; Time: 11s(total), 8s(copy); streamer: mysql-bin.015777:60461451; Lag: 0, State: migrating; ETA: 9s
Copy: 195000/375190 52.0%; Applied: 3; Backlog: 0/1000; Time: 12s(total), 9s(copy); streamer: mysql-bin.015777:68007845; Lag: 0, State: migrating; ETA: 8s
Copy: 222500/375190 59.3%; Applied: 3; Backlog: 0/1000; Time: 13s(total), 10s(copy); streamer: mysql-bin.015777:77016267; Lag: 1, State: migrating; ETA: 6s
Copy: 247500/375190 66.0%; Applied: 3; Backlog: 0/1000; Time: 14s(total), 11s(copy); streamer: mysql-bin.015777:85187626; Lag: 0, State: migrating; ETA: 5s
Copy: 272500/375190 72.6%; Applied: 3; Backlog: 0/1000; Time: 15s(total), 12s(copy); streamer: mysql-bin.015777:92846416; Lag: 0, State: migrating; ETA: 4s
Copy: 295000/375190 78.6%; Applied: 3; Backlog: 0/1000; Time: 16s(total), 13s(copy); streamer: mysql-bin.015777:100874582; Lag: 1, State: migrating; ETA: 3s
Copy: 320000/375190 85.3%; Applied: 3; Backlog: 0/1000; Time: 17s(total), 14s(copy); streamer: mysql-bin.015777:109023578; Lag: 1, State: migrating; ETA: 2s
Copy: 350000/375190 93.3%; Applied: 3; Backlog: 0/1000; Time: 18s(total), 15s(copy); streamer: mysql-bin.015777:118558878; Lag: 0, State: migrating; ETA: 1s
Shlomi Noach added 2 commits Oct 7, 2019
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing Oct 7, 2019 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production Oct 22, 2019 Inactive
Shlomi Noach
@shlomi-noach shlomi-noach temporarily deployed to production/github-mysqlutil Oct 27, 2019 Inactive
@shlomi-noach shlomi-noach merged commit af43fbd into master Oct 30, 2019
5 checks passed
5 checks passed
build build
Details
build build
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
gh-ost-build-deploy-tarball Build #20539199 succeeded in 48s
Details
@shlomi-noach shlomi-noach deleted the context-status branch Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.