File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ echo -e "\n\n\n\n\n"
109109
110110echo " ⚙️ Validating checkpointed state after resumed migration..."
111111
112- # validate we processed a single row-copy chunk (10 rows) and there are 20 total to process
112+ # validate we processed the rest of the 20 rows to copy
113113rows_copied=$( mysql-exec target primary $database -Ne " SELECT gh_ost_rows_copied FROM \` ${checkpoint_table} \` ORDER BY gh_ost_chk_id DESC LIMIT 1;" )
114114if [ $rows_copied -ne 20 ]; then
115115 echo " ERROR: Expected last checkpoint to show 20 rows copied."
Original file line number Diff line number Diff line change 11
22#! /bin/bash
33# Custom test:
4- # - panic during row copy stage, prior to cutover
5- # - resume and complete the migration
4+ # Executes migration with custom hooks (on-row-copy-complete, on-before-cut-over, on-success)
5+ # which are executed at different stages of the migration and validate the environment variables
6+ # expected to be available to the respective hooks.
67
78database=test
89table_name=gh_ost_test
You can’t perform that action at this time.
0 commit comments